package com.chi.mapper;

import com.chi.pojo.Pwd;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PwdMapper {
    int addPwd(Pwd pwd);

    int deletePwdById(@Param("PwdId") int id);

    int updatePwd(Pwd pwd);

    List<Pwd> queryPwdList(@Param("startIndex") int startIndex,@Param("pageSize") int pageSize);

    Pwd queryPwdById(@Param("PwdId") int id);

    List<Pwd> selectPwd(String accountName);

    int getPwdNum();
}
